<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DefaultEglCoreFactory.<init> - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl</a>&nbsp;/&nbsp;<a href="index.html">DefaultEglCoreFactory</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl.DefaultEglCoreFactory$&lt;init&gt;(android.opengl.EGLContext)"></a>
<code><span class="identifier">DefaultEglCoreFactory</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl.DefaultEglCoreFactory$<init>(android.opengl.EGLContext)/sharedContext">sharedContext</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/opengl/EGLContext.html"><span class="identifier">EGLContext</span></a>&nbsp;<span class="symbol">=</span>&nbsp;EGL14.EGL_NO_CONTEXT<span class="symbol">)</span></code>
<p><a href="index.html">DefaultEglCoreFactory</a> will create a root <a href="../-egl-core/index.html">EglCore</a> lazily if no shared context is provided.
It will track all child <a href="../-egl-core/index.html">EglCore</a> objects and release the root core if all child cores are released.</p>
</BODY>
</HTML>
